package com.forum.framework.common.constant;

/**
 * 用户常量
 *
 * @author zihan.ouyang
 */
public class UserConstants {
    public static final boolean UNIQUE = true;
    public static final boolean NOT_UNIQUE = false;
    /**
     * 用户名长度限制
     */
    public static final int USERNAME_MIN_LENGTH = 2;
    public static final int USERNAME_MAX_LENGTH = 20;
    /**
     * 密码长度限制
     */
    public static final int PASSWORD_MIN_LENGTH = 8;
    public static final int PASSWORD_MAX_LENGTH = 20;
}
